package com.yfqy.app.domain.mapper;

import com.yfqy.app.domain.entity.LeaderApply;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LeaderApplyMapper {

    int insert(LeaderApply record);

    LeaderApply selectByPrimaryKey(Long id);

    LeaderApply findRecentRejectedApply(Long customerId);

    LeaderApply findByCustomerIdAndStatusIn(@Param("customerId") Long customerId, @Param("statuses") List<Byte> pendingStatuses);
}